package com.tangcco.lockwell.repository;

import com.tangcco.lockwell.domain.RegisterPhoneValidateCode;
import org.apache.ibatis.annotations.Param;

public interface RegisterPhoneValidateCodeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RegisterPhoneValidateCode record);

    int insertSelective(RegisterPhoneValidateCode record);

    RegisterPhoneValidateCode selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RegisterPhoneValidateCode record);

    int updateByPrimaryKey(RegisterPhoneValidateCode record);

    RegisterPhoneValidateCode selectByPhoneAndSendType(@Param("phone") String phone,@Param("sendType") Integer sendType);
}